package com.wg.dome.operation;

import com.wg.core.lang.MemberParams;
import com.wg.core.annotation.DataMember;
import com.wg.net.rpc.AbstractDataContract;

import java.util.HashMap;

/**
 * 开始游戏响应
 */
public class StartGameResponse extends AbstractDataContract {

    /**
     * 玩家id playerid=-1 创建玩家
     */
    @DataMember(code = 1)
    private long playerId;

    public StartGameResponse() {
    }

    public StartGameResponse(MemberParams parameter) {
        super(parameter);
    }

    public long getPlayerId() {
        return playerId;
    }

    public void setPlayerId(long playerId) {
        this.playerId = playerId;
    }
}
